package com.bdth.mixapi.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 跑步人群统计
 * </p>
 *
 * @author LGP
 * @since 2019-04-15
 */
@TableName("jk_step_people")
public class StepPeople implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 性别，取值：1-男性，2-女性
     */
    private Integer gender;

    /**
     * 年龄区间的起始值，取值：0-不限
     */
    private Integer age1;

    /**
     * 年龄区间的结束值，取值：0-不限
     */
    private Integer age2;

    /**
     * 人群总数
     */
    private Integer peopleTotal;

    /**
     * 统计日期
     */
    private LocalDate statisticDate;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }
    public Integer getAge1() {
        return age1;
    }

    public void setAge1(Integer age1) {
        this.age1 = age1;
    }
    public Integer getAge2() {
        return age2;
    }

    public void setAge2(Integer age2) {
        this.age2 = age2;
    }
    public Integer getPeopleTotal() {
        return peopleTotal;
    }

    public void setPeopleTotal(Integer peopleTotal) {
        this.peopleTotal = peopleTotal;
    }
    public LocalDate getStatisticDate() {
        return statisticDate;
    }

    public void setStatisticDate(LocalDate statisticDate) {
        this.statisticDate = statisticDate;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "StepPeople{" +
        "id=" + id +
        ", gender=" + gender +
        ", age1=" + age1 +
        ", age2=" + age2 +
        ", peopleTotal=" + peopleTotal +
        ", statisticDate=" + statisticDate +
        ", createTime=" + createTime +
        "}";
    }
}
